package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryObjAttrRstrRulItemService;
import com.iwhalecloud.bss.kite.dataservice.entity.spec.ObjAttrRstrRulItem;
import com.iwhalecloud.bss.kite.dataservice.mapper.spec.ObjAttrRstrRulItemMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ObjAttrRstrRuleItemQueryService implements IQueryObjAttrRstrRulItemService {

	@Autowired
	private ObjAttrRstrRulItemMapper objAttrRstrRulItemMapper;

	@Override
	public List<ObjAttrRstrRulItem> listGfitRstrOfferAttrRules(String aOfferId, String zOfferId, String relObjId) {
		return objAttrRstrRulItemMapper.listGfitRstrOfferAttrRules(aOfferId, zOfferId, relObjId);
	}

	@Override
	public List<ObjAttrRstrRulItem> listGfitRstrOfferAttrDefaultValueRules(String aOfferId, String zOfferId,
			String relObjId) {
		return objAttrRstrRulItemMapper.listGfitRstrOfferAttrDefaultValueRules(aOfferId, zOfferId, relObjId);
	}

}
